package ZY10_22.Pet;

public class PetTest {
    public static void main(String[] args) {
        Pet s=new Dog("大黄","中华田园犬",60);
                s.show();
        System.out.println();
        Pet s1=new Cat("小花","中华田园猫",40);
                s1.show();
        System.out.println();
        Pet s2=new Parrot("鹦鹉","中华田园鹦鹉",40);
                s2.show();
    }
}
